<?php 
include "./_class.php";
$code = OAuth::getAccessCode("http://112.124.44.172/vip_card.php","snsapi_userinfo");
var_dump($code);
include "./phpqrcode/Qrcode.php";
?>
<!DOCTYPE HTML>
<html style="padding:0;margin:0;">
<head>
	<meta name="viewport" content="width=device-width" />
</head>
<body style="padding:0;margin:0;">
<img src="<?php echo GenQRCode($_GET['code'] ? $_GET['code'] : 123);?>" style="display:block;margin:0 auto;" width="100%"/>
</body>
</html>